package com.dao;


import com.bean.Goods;
import com.bean.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Samsara
* @description 针对表【goods】的数据库操作Mapper
* @createDate 2023-01-18 03:30:40
* @Entity generator.domain.Goods
*/
public interface GoodsMapper {


    Integer insertBatch(List<Goods> goodsList);

    Integer updateBatch(List<Goods> goodsList);

    Integer deleteBatch(List<Goods> goodsList);

    List<Goods> selectGoodsList(@Param("list") List<Goods> goodsList,@Param("start")Integer start,@Param("end")Integer end);

    List<Goods> selectGoodsListAndOrderList(@Param("list") List<Goods> goodsList,@Param("start")Integer start,@Param("end")Integer end);

    List<Goods> selectGoodsListAndSeckillList(@Param("list") List<Goods> goodsList,@Param("start")Integer start,@Param("end")Integer end);
}
